package com.du.cloud.common.base.constant;

/**
 * Desc: redis key常量
 * Author: dushuang
 * Date: 2020/5/26
 **/
public interface RedisKeyConstants {

    /**
     * oauth缓存key前缀
     */
    String OAUTH_KEY_PREFIX = "oauth:token:";

    /**
     * 用户信息缓存
     */
    String USER_DETAILS = "user_details";

    /**
     * oauth 客户端信息
     */
    String CLIENT_DETAILS_KEY = "oauth:client:details";

    /**
     * 验证码
     */
    String CAPTCHA_CODE = "captcha:code:";
}
